﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HPPClientLibrary.XmlableObject
{
    using HPPUtil;

    public class File
    {
        private string _fileName;
        private string _hash;
        private long _size;
        private int _lastBlockSize;
        private int _blockCount;
        private BitArray _fileBlocks;

        public BitArray FileBlocks
        {
            get { return _fileBlocks; }
            set { _fileBlocks = value; }
        }


        public string FileName
        {
            get { return _fileName; }
            set { _fileName = value; }
        }

        public string Hash
        {
            get { return _hash; }
            set { _hash = value; }
        }

        public long Size
        {
            get { return _size; }
            set { _size = value; }
        }

        public int LastBlockSize
        {
            get { return _lastBlockSize; }
            set { _lastBlockSize = value; }
        }

        public int BlockCount
        {
            get { return _blockCount; }
            set { _blockCount = value; }
        }
    }

}
